package com.clusterswisdom.horn.api.tmall.action.scitem;

import java.util.Date;

import org.apache.commons.lang3.time.DateFormatUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.alibaba.fastjson.JSONObject;
import com.clusterswisdom.horn.api.ioc.HornAction;
import com.clusterswisdom.horn.api.ioc.HornResponse;
import com.clusterswisdom.horn.api.ioc.api.ApiConfig;
import com.clusterswisdom.horn.api.tmall.action.AbstractTmallAction;

public class RestInventoryAction extends AbstractTmallAction implements HornAction {

	private Logger log = LoggerFactory.getLogger(RestInventoryAction.class);
	
	@Override
	public HornResponse execute(ApiConfig config, JSONObject param) throws Exception {
		log.debug("cron invoke :" + DateFormatUtils.format(new Date(), "yyyy-MM-dd HH:mm:ss"));
		return new HornResponse(true, null);
	}
}
